

#ifndef __TYPEDEF_H__
#define __TYPEDEF_H__

//================================================================
// data type 1
//================================================================
typedef signed char			INT8;
typedef signed short		INT16;
typedef signed int			INT32;
typedef signed long long	INT64; 

typedef unsigned char		UINT8;
typedef unsigned short		UINT16;
typedef unsigned int		UINT32; 
typedef unsigned long long	UINT64; 



//================================================================
// data type 2
//================================================================
typedef signed char    	 	S8_T;
typedef short           	S16_T;
typedef long            	S32_T;
typedef signed long long	S64_T; 


typedef unsigned char   	U8_T;
typedef unsigned short  	U16_T;
typedef unsigned long   	U32_T;
typedef unsigned long long	U64_T; 



//================================================================
// data type 3 - fixed point 
//================================================================
typedef int					FIX16; 




//================================================================
// register type 
//================================================================
typedef volatile U8_T  		CSP_REGISTER8_T;
typedef volatile U16_T 		CSP_REGISTER16_T;
typedef volatile U32_T 		CSP_REGISTER_T;





#endif

